const mutations = {
    increment(state) {
        state.count++
    },
    // 设置用户信息
    SET_userInfo(state, result) {
        console.log('进入设置用户mutatios')
        state.userInfo = result
        console.log('state.userInfo', state.userInfo)
    },
    // 设置订阅状态
    SET_subscribeStatu(state, result) {
        state.subscribeStatu = result
        console.log('mutation 存储的状态值', state.subscribeStatu)
    },
    // 这是订阅号状态文字
    SET_subscribeText(state, result) {
        state.subscribeText = result
        console.log('mutation 存储的文本值', state.subscribeText)
    },
    // 存储订阅号文章列表
    SET_subscribeContentList(state, result) {
        state.subscribeContentList = result
    },
    // 设置订阅号文章url
    SET_articleUrl(state, result) {
        state.articleUrl = result
    },
    // 设置当前页
    SET_currentPageNum(state, result) {
        state.currentPageNum = result
    },
    // 设置订阅号文章页码
    SET_subPageNum(state, result) {
        state.subPageNum = result
    },
    // 设置订阅号总条数
    SET_subTotal(state, result) {
        state.subTotal = result
    },
    SET_courseDetailUrl(state, result) {
        state.courseDetailUrl = result
    },
    // 设置每页显示课程条数
    SET_pageSize(state, result) {
        state.pageSize = result
    },
    // 设置订阅号文章列表页码
    SET_contentPage(state, result) {
        state.contentPage = result
    },
    // 设置订阅号文章列表每页显示数量
    SET_contentPageSize(state, result) {
        state.contentPageSize = result
    },
    // 保存课程总数
    SET_total(state, result) {
        state.total = result
    },
    // 设置课程列表
    SET_courseList(state, result) {
        state.courseList = result
    },
    // 保存课程渲染列表
    SET_courseRenderList(state, result) {
        state.courseRenderList = result
    },
    // 设置轮播图图片
    SET_shufflingImg(state, result) {
        state.shufflingImg = result
    },
    // 设置当前课程种类
    SET_currentCategoryName(state, result) {
        state.currentCategoryName = result
    },
    // 保存课程标签
    SET_courseTag(state, result) {
        state.courseTag = result
    },
    // 课程数据查询状态
    SET_courseDataFull(state, result) {
        state.courseDataFull = result
    }
}
export default mutations
